package com.happy.manage.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.happy.common.annotation.Excel;
import com.happy.common.core.domain.BaseEntity;

/**
 * 微贴子对象 microposts
 * 
 * @author ruoyi
 * @date 2024-12-27
 */
public class Microposts extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 帖子ID */
    private Long postId;

    /** 发布帖子的用户ID */
    @Excel(name = "发布帖子的用户ID")
    private Long userId;

    /** 帖子标题 */
    @Excel(name = "帖子标题")
    private String title;

    /** 帖子内容 */
    @Excel(name = "帖子内容")
    private String content;

    /** 图片URL1 */
    @Excel(name = "图片URL1")
    private String imageUrl1;

    /** 图片URL2 */
    @Excel(name = "图片URL2")
    private String imageUrl2;

    /** 图片URL3 */
    @Excel(name = "图片URL3")
    private String imageUrl3;

    /** 图片URL4 */
    @Excel(name = "图片URL4")
    private String imageUrl4;

    /** 图片URL5 */
    @Excel(name = "图片URL5")
    private String imageUrl5;

    /** 视频引用 */
    @Excel(name = "视频引用")
    private String videoRef;

    public void setPostId(Long postId) 
    {
        this.postId = postId;
    }

    public Long getPostId() 
    {
        return postId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setImageUrl1(String imageUrl1) 
    {
        this.imageUrl1 = imageUrl1;
    }

    public String getImageUrl1() 
    {
        return imageUrl1;
    }
    public void setImageUrl2(String imageUrl2) 
    {
        this.imageUrl2 = imageUrl2;
    }

    public String getImageUrl2() 
    {
        return imageUrl2;
    }
    public void setImageUrl3(String imageUrl3) 
    {
        this.imageUrl3 = imageUrl3;
    }

    public String getImageUrl3() 
    {
        return imageUrl3;
    }
    public void setImageUrl4(String imageUrl4) 
    {
        this.imageUrl4 = imageUrl4;
    }

    public String getImageUrl4() 
    {
        return imageUrl4;
    }
    public void setImageUrl5(String imageUrl5) 
    {
        this.imageUrl5 = imageUrl5;
    }

    public String getImageUrl5() 
    {
        return imageUrl5;
    }
    public void setVideoRef(String videoRef) 
    {
        this.videoRef = videoRef;
    }

    public String getVideoRef() 
    {
        return videoRef;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("postId", getPostId())
            .append("userId", getUserId())
            .append("title", getTitle())
            .append("content", getContent())
            .append("imageUrl1", getImageUrl1())
            .append("imageUrl2", getImageUrl2())
            .append("imageUrl3", getImageUrl3())
            .append("imageUrl4", getImageUrl4())
            .append("imageUrl5", getImageUrl5())
            .append("videoRef", getVideoRef())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("remark", getRemark())
            .toString();
    }
}
